package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * Tmenu entity. @author MyEclipse Persistence Tools
 */

public class Tmenu  implements java.io.Serializable {


    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	// Fields    

     private int id;
     private Tmenu tmenu;
     private String text;
     private String textEn;
     private String iconcls;
     private String url;
     private int sort;
     private int type;
     private int tId;
     private Timestamp lastUpdatedStamp;
     private Timestamp createdStamp;
     private int level;
     private Set<Tmenu> tmenus = new HashSet<Tmenu>(0);
     private int checkFlag;

    // Constructors

    /** default constructor */
    public Tmenu() {
    }


   
    // Property accessors


    public Tmenu getTmenu() {
        return this.tmenu;
    }
    
    public int getId() {
		return id;
	}



	public int getCheckFlag() {
		return checkFlag;
	}



	public void setCheckFlag(int checkFlag) {
		this.checkFlag = checkFlag;
	}



	public void setId(int id) {
		this.id = id;
	}



	public void setTmenu(Tmenu tmenu) {
        this.tmenu = tmenu;
    }

    public String getText() {
        return this.text;
    }
    
    public void setText(String text) {
        this.text = text;
    }

    public String getIconcls() {
        return this.iconcls;
    }
    
    public void setIconcls(String iconcls) {
        this.iconcls = iconcls;
    }

    public String getUrl() {
        return this.url;
    }
    
    public void setUrl(String url) {
        this.url = url;
    }

    public Timestamp getLastUpdatedStamp() {
        return this.lastUpdatedStamp;
    }
    
    public void setLastUpdatedStamp(Timestamp lastUpdatedStamp) {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }

    public Timestamp getCreatedStamp() {
        return this.createdStamp;
    }
    
    public void setCreatedStamp(Timestamp createdStamp) {
        this.createdStamp = createdStamp;
    }

	public Set<Tmenu> getTmenus() {
		return tmenus;
	}

	public void setTmenus(Set<Tmenu> tmenus) {
		this.tmenus = tmenus;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}



	public int getLevel() {
		return level;
	}



	public void setLevel(int level) {
		this.level = level;
	}



	/**
	 * @return the tId
	 */
	public int gettId() {
		return tId;
	}



	/**
	 * @param tId the tId to set
	 */
	public void settId(int tId) {
		this.tId = tId;
	}



	public String getTextEn() {
		return textEn;
	}



	public void setTextEn(String textEn) {
		this.textEn = textEn;
	}
   

}